/*
 *@description:头部card组件
 *@Author:@reynold
 *@Date:2025-03-22 11:04:24
 *@Update:2025-03-22 11:04:24
 *@Version: V1.0.0
*/

<template>
  <div class="card">
    <div class="card_header">
      <slot name="header"></slot>
    </div>
    <span></span>
    <div class="card_content">
      <div class="content_top">
        <slot name="contop"></slot>
      </div>
      <div class="content_bottom">
        <slot name="conbot"></slot>
      </div>
    </div>
    <span></span>
    <div class="card_footer">
      <div class="footer_left">
        <slot name="fooleft"></slot>
      </div>
      <div class="footer_right">
        <slot name="fooright"></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.card{
  width: 24.5%;
  background-color: #fff;
  border-radius: 5px;
  .card_header{
    font-size: 16px;
    font-weight: 600;
    padding: 10px;
  }
  .card_content{
    .content_top{
      color: #545d6e;
      font-size:24px;
      padding: 10px;
    }
    .content_bottom{
      font-size: 14px;
      padding:10px;
    }
  }
  .card_footer{
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding:15px 10px;
  }
  span{
    display: block;
    width: 100%;
    border: 1px solid #f5f7f9;
  }
}
</style>